package com.dingyx.ps.model.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author zhangyiming@zencor.cn
 * @description 灵活用工导出LTC任务表
 * @date 2021-05-13
 */
@Data
public class TaskMasterLtcExport implements Serializable {

    private static final long serialVersionUID = 1L;

    @Excel(name = "任务id", width = 20, orderNum = "1")
    private Long id;

    @Excel(name = "任务名称", width = 30, orderNum = "2")
    private String taskName;

    @Excel(name = "任务佣金（总）", width = 15, orderNum = "3")
    private BigDecimal taskSumPrice;

    @Excel(name = "发布时间", width = 20, exportFormat = "yyyy-MM-dd HH:mm:ss", orderNum = "4")
    private Date publishDate;

    @Excel(name = "完成时间", width = 20, exportFormat = "yyyy-MM-dd HH:mm:ss", orderNum = "5")
    private Date checkedCompleteDate;

    @Excel(name = "任务状态", width = 15, replace = {"审核中_0", "已驳回_1", "进行中_2", "待验收_3", "已完成_4", "已作废_5", "已拒绝_6"}, orderNum = "6")
    private Integer taskStatus;

    @Excel(name = "支付状态", width = 15, replace = {"已支付_0", "未支付_1", "已支付待确认_2"}, orderNum = "7")
    private Integer payStatus;

    /**
     * 指派人数
     */
    private Integer appointNumber;

    /**
     * 任务佣金（单价）
     */
    private BigDecimal taskUnitPrice;
}

